package com.touchwp.java.wechat.processor;

import javax.inject.Named;

import com.touchwp.java.common.base.Default;
import com.touchwp.java.wechat.message.Message;
import com.touchwp.java.wechat.message.TextMessage;

/**
 * 默认文本消息处理
 * 
 * @author yuki
 * 
 */
@Default(description = "TextMessage 默认处理器")
@Named
@Deprecated
public class TextMessageProcesso implements IMessageProcessor<TextMessage> {

	@Override
	public Message process(TextMessage message) {
		TextMessage respose = new TextMessage();
		respose.setContent("收到你的消息啦!");
		respose.copyTo(message);
		return respose;
	}

}
